
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置TravelAgency的AutoMapper
    /// </summary>
	internal static class TravelAgencyMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TravelAgency,TravelAgencyListDto>();
            configuration.CreateMap <TravelAgencyListDto,TravelAgency>();

            configuration.CreateMap <TravelAgencyEditDto,TravelAgency>();
            configuration.CreateMap <TravelAgency,TravelAgencyEditDto>();

        }
	}
}
